package glossos.tree.snapshot;

import glossos.tree.Node;

import java.util.Set;


public interface NodeRepository {
	void save(Node node);

	Node findById(Long id);
	
	Set<Node> findByParentId(Long parentId);
	
	Node findByParentIdAndWord(Long parentId, String word);
	
	Long nextId();

    Long count();

    void removeAll();
}
